const TokenKey = 'vue_admin_likede_token'
const idKey = 'vue_admin_likede_id'

export function getToken() {
  return localStorage.getItem(TokenKey)
}

export function setToken(token) {
  localStorage.setItem(TokenKey, token)
}

export function removeToken() {
  localStorage.removeItem(TokenKey)
}

export function setuserId(id) {
  localStorage.setItem(idKey, id)
}

export function getuserId() {
  return localStorage.getItem(idKey)
}

export function removeuserId() {
  localStorage.removeItem(idKey)
}